<div>
    {{name}}
    {{#if children}}
    <div style="padding-left:{{depth * 20}}px">
      {{#each tree}}
    {{ > treeNode this depth=(../depth+1)}}
    {{/each}}
    </div>
    {{/if}}
</div>